﻿using __ts.Core.Service.Server;

/*
 *  author: able
 *  @2012/2/21 17:17:40
 * 
 */
namespace __ts.Core.Transport.Tcp
{
    /// <summary>
    /// 
    /// </summary>
    public abstract class AbstractTcpServer : AbstractIoServer
    {
        /**
         * Set the reuse address flag on the server socket
         * @param reuseAddress <code>true</code> to enable
         */
        public abstract void setReuseAddress(bool reuseAddress);

        /**
         * Is the reuse address enabled for this server.
         * @return
         */
        public abstract bool isReuseAddress();
    }
}